package com.ruoyi.WELD.mapper;

import com.ruoyi.WELD.domain.Welding;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WeldingMapper {
    List<Welding> selectWeldingList(Welding welding);
    Welding selectWeldingById(Long id);
    int insertWelding(Welding welding);
    int insertBatch(@Param("list") List<Welding> list);
    int updateWelding(Welding welding);
    int deleteWeldingById(Long id);
    int deleteWeldingByIds(Long[] ids);
    List<Welding> selectWeldingByIds(Long[] ids);
    int ClearWelding();

}
